package main

import (
	"fmt"
	"reflect"
)

func main() {
	a := [...]int{1, 2, 3, 4}
	s1 := a[2:4]
	s2 := a[:]
	fmt.Println(reflect.TypeOf(s1))
	fmt.Println(reflect.TypeOf(a))
	fmt.Println(reflect.TypeOf(s2))
}
